import Image, { StaticImageData } from "next/image"

interface CarbonDevImgProps {
  src: StaticImageData,
  title: string
}

export default function CarbonDevItem({
  src,
  title
}: CarbonDevImgProps) {
  return (
    <div className="w-[388px] border border-solid border-gray-100">
      <Image className="h-[289px] w-[388px]" src={src} alt={title} />
      <div className="font-[18px] font-semibold text-center p-4">{title}</div>
    </div>
  )
}